Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2022.2] adrv9002 new sdk26 support #497

Merged
merged 3 commits into from
Jun 10, 2024
Merged

Conversation

nunojsa
Copy link
Contributor

@nunojsa nunojsa commented Jun 7, 2024

PR Description

Same as #494

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have followed the coding standards and guidelines
  • I have conducted a self-review of my own code changes
  • I have commented new code, particulary complex or unclear areas
  • I have checked in CI output that no new warnings/errors got introduced
  • I have updated documentation accordingly (GitHub Pages, READMEs, etc)

Update profiles for API 68.13.7.

Signed-off-by: Nuno Sa <[email protected]>
(cherry picked from commit fdb2f83)
Add an API to only update the gui value of a specific widget. This is
useful when we have to do the actual attribute reading before we need to
update the GUI.

In the next patch, we'll introduce an user of this API.

Signed-off-by: Nuno Sa <[email protected]>
(cherry picked from commit 4ceed02)
With the changes in the device driver API, reading the RSSI on a channel
that's not enabled will trow an error. Hence, instead of flooding the
device with error's (and the kernel log), don't read the RSSI for
channels that are not enabled.

With the above, as we always need to read the ensm widget, make use
iio_widget_update_value() to update it in case port enable is set to pin
(and hence avoiding another call into the device).

Signed-off-by: Nuno Sa <[email protected]>
(cherry picked from commit 54efaad)
@nunojsa nunojsa requested review from dNechita, cristina-suteu and a team June 7, 2024 12:40
@nunojsa nunojsa merged commit c28f7f1 into 2022_R2 Jun 10, 2024
7 of 12 checks passed
@nunojsa nunojsa deleted the staging/adrv9002-sdk26-2022.2 branch June 10, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants